/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.share.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.share.entity.Share;
import com.jeeplus.modules.share.mapper.ShareMapper;

/**
 * 分享记录Service
 * @author zhych
 * @version 2021-11-16
 */
@Service
@Transactional(readOnly = true)
public class ShareService extends CrudService<ShareMapper, Share> {

	public Share get(String id) {
		return super.get(id);
	}
	
	public List<Share> findList(Share share) {
		return super.findList(share);
	}
	
	public Page<Share> findPage(Page<Share> page, Share share) {
		return super.findPage(page, share);
	}
	
	@Transactional(readOnly = false)
	public void save(Share share) {
		super.save(share);
	}
	
	@Transactional(readOnly = false)
	public void delete(Share share) {
		super.delete(share);
	}
	
}